home *** CD-ROM | disk | FTP | other *** search
/ Thailand - Into the 2000's / Thailand: Into the 2000's.iso / Acrobat / Acrobat.exe / EXVW / 10042 < prev    next >
Text File  |  2001-10-26  |  2KB  |  44 lines

  1. gUpdateWidth=max(
  2.     zstring_width(zstring: '$$$avUpdateWeekly'),
  3.     zstring_width(zstring: '$$$avUpdateMonthly'),
  4.     zstring_width(zstring: '$$$avUpdateManually'),
  5.     zstring_width(zstring: '$$$/Prefs/Update/CheckAcrobatUpdate'),
  6.     zstring_width(zstring: '$$$/Prefs/Update/CheckWebServicesUpdate'));
  7.  
  8. gLastCheckedWidth=max(
  9.     zstring_width(zstring: '$$$/Prefs/Update/AcrobatLastChecked'),
  10.     zstring_width(zstring: '$$$/Prefs/Update/WebServicesLastChecked'));
  11.  
  12. gFreqWidth = zstring_width(zstring: '$$$/Prefs/Update/Frequency');
  13.  
  14. dialog(name: '$$$/Prefs/Update', margin_height: 0, margin_width: 0)
  15. {
  16.     cluster(name: '$$$/Prefs/Update', dheight: gPrefsPanelHeight, dwidth: gPrefsPanelWidth, align_children: align_left)
  17.     {
  18.         static_text(item_id: 'text', alignment: align_fill, height: gStaticTextHeight*5);
  19.         view(align_children: align_row, alignment: align_fill)
  20.         {
  21.             static_text(name: '$$$/Prefs/Update/AcrobatLastChecked', width: gLastCheckedWidth, alignment: align_right);
  22.             static_text(item_id: 'ckAc', alignment: align_fill);
  23.         }
  24.         view(align_children: align_row, alignment: align_fill)
  25.         {
  26.             static_text(name: '$$$/Prefs/Update/WebServicesLastChecked', width: gLastCheckedWidth, alignment: align_right);
  27.             static_text(item_id: 'ckWS', alignment: align_fill);
  28.         }
  29.         gap( height: gStaticTextHeight );
  30.         view(alignment: align_center, align_children: align_right)
  31.         {
  32.             view(align_children: align_row)
  33.             {
  34.                 static_text(name: '$$$/Prefs/Update/Frequency', alignment: align_right);
  35.                 popup(item_id: 'Freq', width: gUpdateWidth+gButtonSpace-gPopupPad-gSpinnerWidth);
  36.             }
  37.             button(item_id: 'UpAc', name: '$$$/Prefs/Update/CheckAcrobatUpdate', width: gUpdateWidth);
  38.             button(item_id: 'UpWS', name: '$$$/Prefs/Update/CheckWebServicesUpdate', width: gUpdateWidth);
  39.         }
  40.         gap(height: gStaticTextHeight);
  41.         check_box(item_id: 'conf', name: '$$$/Prefs/Update/ShowConfirmationDialog');
  42.     }
  43. }
  44.